<html>
<script>
function test() {
  document.open();
  document.write('<html><body>WYCIWYG DOCUMENT</body></html>');
  document.close();
}
</script>
<body onload="setTimeout(test, 0);">
</body>
</html>
